global class runtest{

 /*   public void test(){
        OptimizeTriggerScheduler  op=new OptimizeTriggerScheduler ();
        op.WriteLastDistributedDateToOutlet();
        op.WriteLastVisitedDateToOutlet();
        op.MainShelfDisplayAchievement();
        op.WriteInStoreVisitBySSYToDashboard();
        op.AddOrderItemRecordToOutletOfftake();
        
        
        DistributionPointScheduler dis=new DistributionPointScheduler();
        dis.RunDistributionPoint();
        
        
    }
    public void test2()
    {
        // AddRecordToOutletMonthlyOfftakeScheduler ar=new AddRecordToOutletMonthlyOfftakeScheduler ();
      //  ar.runOutletMonthlyOfftake();
        
    }
    public void test3()
    {
         CoverageAverageproduceline ca=new CoverageAverageproduceline();
        ca.runCA();
        
    }
    public PageReference Test4()
    {
        List<In_Store_Visit__c> istList;
        Integer i=0;
        do
        {
            if(istList!=NULL)
                istList.clear();
            istList=[select Id,Name from In_Store_Visit__c];
            i++;
        }
        while(istList.size()>0 && i==4);
        
        System.assert(false,istlist.size());
        return null;
    }
   
    static testMethod void runtestTest()
    {
      runtest runT=new runtest();
      runT.test();
      // runT.test2();
       //runT.test3();
    }
    
    */
    
    
   /* public String str{get;set;}
     public ApexPages.StandardSetController TradeData
    {
        get
        {
            if(str==NULL)
                str='';
           // String sql='select Id,name from PDALog__c limit 10000 ';
            String sql='select Id,Name,IsCheck__c from account '+ 'where Name like \'%'+str+'%\'';
             if(TradeData==null)           
                TradeData= new ApexPages.StandardSetController(Database.getQueryLocator(sql));
            
            TradeData.setPageSize(10);
            return TradeData;
        }
        set;
    } 
    public List<account> AccountList
    {
        get
        {
            return TradeData.getRecords();
        }
        set;
    }
    public Boolean HasNextForTradeLeft
    {
        get{return TradeData.getHasNext();}
        set;
    }
    
    public Boolean HasPreviousForTradeLeft
    {
        get{ return TradeData.getHasPrevious();}
        set;
    }
    
    public void PreviousForTradeLeft()
    {
        TradeData.previous();   
    } 
    
    
    public void NextForTradeLeft()
    {
        
    
        TradeData.next();  
         } 
    
    public PageReference add()
    {
        if(AccountRightList==NULL)
            AccountRightList=new List<Account>();
            
         for(Account a:AccountList)
         {
             if(a.IsCheck__c)
             {
                 AccountRightList.add(a);
             }
         }
                
              return null;
            
     }
        
            
    public List<Account> AccountRightList{get;set;}
    
    public PageReference Search()
    {
         if(str==NULL)
                str='';
            
            String sql='select Id,Name,IsCheck__c from account '+ 'where Name like \'%'+str+'%\'';
             //if(TradeData==null)           
                TradeData= new ApexPages.StandardSetController(Database.getQueryLocator(sql));
            
            TradeData.setPageSize(10);
            
        AccountList=TradeData.getRecords();
        return null;
    }*/
    Id strID='001O0000003ETZeIAO';
    public List<Account> getAcc{get;set;}
   // {
   //     get
   //     {
            
    //        return Database.query('select ID,name,IsCheck__c from account where ID > ' +strID);
            //[select ID,name,IsCheck__c from account where ID > :strID];
   //     }
    //    set;
   // }
 }